z()
function Y10(){sleep(100)}
function Y15(){sleep(150)}
function Y20(){sleep(200)}
function Y25(){sleep(250)}
function Y30(){sleep(300)}
function Y35(){sleep(350)}
function Y40(){sleep(400)}
function Y45(){sleep(450)}
function Y50(){sleep(500)}
function Y60(){sleep(600)}
function Y70(){sleep(700)}
function Y80(){sleep(800)}
function Y90(){sleep(900)}

z1();Y40();
z2();Y40();

z3();d5();d3();d1();Y80();Y80();Y80();
z4();Y10();
z3();Y10();
z2();Y10();
z1();Y10();

z2();d4();Y40();
d5();Y40();
z5();Y40();
Y80();
z4();Y40();
z3();Y40();

z1();d6();d4();d1();Y80();
Y80();
Y80();
d6();Y80();

d5();d2();Y80();
Y80();
Y80();
z1();Y40();
z2();Y40();z3();d1();Y80();
d3();Y80();
d5();Y80();
z2();Y40();
z1();Y40();z2();d2();Y40();
d5();Y40();
z5();Y80();
Y80();
z3();Y40();
z5();Y40();z6();d4();Y80();
d6();Y80();
z5();Y80();
Y80();z2();d7();d5();d2();Y80();
Y80();
Y80();
Y80();z1();d6();d3();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d6();d4();d1();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
d2();Y40();
g1();Y40();
d5();Y40();
z7();Y80();z1();d6();d3();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d6();d4();d1();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
d2();Y40();
g1();Y40();
d5();Y40();
z7();Y80();z1();d1();Y40();
d3();Y40();
d5();Y40();
z1();Y40();
z1();d1();Y40();
d3();Y40();
d5();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
d2();Y40();
d5();Y40();
z1();Y80();d7();d4();Y40();
d1();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z2();Y80();z3();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
d2();Y40();
d5();Y40();
d7();Y40();z1();z1();Y40();
d3();Y40();
z5();Y40();
z1();Y40();
z1();z1();Y40();
d3();Y40();
z5();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
d2();Y40();
d5();Y40();
z1();Y80();d5();Y40();
d1();Y40();
d4();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z1();Y40();d4();Y40();
d5();Y40();
d6();Y40();
z1();Y40();
z4();Y40();
z5();Y40();
z6();Y40();
z7();Y40();g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();
g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();d7();d2();Y40();
d5();Y40();
g1();Y80();
z2();Y40();
d5();Y40();
g1();Y80();z7();d4();Y40();
d6();Y40();
g1();Y40();
z1();Y40();
z4();Y40();
z6();Y40();
g1();Y80();g1();d5();Y40();
d7();Y40();
z2();Y40();
d7();Y40();
g1();Y40();
d5();Y40();
d7();Y40();
z2();Y40();g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();
g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();d7();d2();Y40();
d5();Y40();
g1();Y80();
z2();Y40();
d5();Y40();
g1();Y80();d5();Y40();
d1();Y40();
d4();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z1();Y40();d4();Y40();
d5();Y40();
d6();Y40();
z1();Y40();
z4();Y40();
z5();Y40();
z6();Y40();
z7();Y40();g1();d6();Y40();
d3();Y40();
d6();Y40();
z1();Y80();
d3();Y40();
d6();Y40();
z1();Y40();g1();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y80();
d2();Y40();
d5();Y40();
d7();Y40();z5();d4();Y80();
d6();Y40();
z1();Y40();
z4();Y80();
z3();Y40();
z2();Y40();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
z1();z3();Y80();
z4();Y40();
z3();Y40();d3();Y40();
d6();Y40();
z1();Y40();
z3();Y40();
Y80();
z2();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
Y80();
d7();Y80();d6();d4();d1();Y40();
d1();Y40();
d4();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z1();Y40();d1();Y40();
d4();Y40();
z1();Y40();
z2();Y40();
d6();d3();Y80();
d7();Y80();z1();d6();Y40();
d3();Y40();
d6();Y40();
z1();Y80();
d3();Y40();
d6();Y40();
z1();Y40();z2();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y80();
d5();Y40();
d7();Y40();z5();d4();Y80();
d6();Y40();
z1();Y40();
z4();Y80();
z3();Y40();
z2();Y40();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
z3();z1();Y80();
z4();Y40();
z3();Y40();d3();Y40();
d6();Y40();
z1();Y40();
z3();Y80();
d3();Y40();
z2();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
Y80();
d7();Y80();d7();d4();Y40();
d1();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z2();Y80();z3();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();z1();d6();d3();Y80();
d3();Y40();
d6();Y80();
d3();Y40();
z2();Y40();
z1();Y40();z2();d2();Y40();
d5();Y40();
z5();Y80();
Y80();
z3();Y40();
z5();Y40();z6();d4();Y80();
d6();Y80();
z5();Y80();
Y80();z2();d7();d5();d2();Y80();
Y80();
Y80();
Y80();g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();
g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();z7();d5();Y40();
d7();Y40();
g1();Y80();
z2();Y80();
g1();Y80();z7();d4();Y40();
d6();Y40();
g1();Y40();
z1();Y40();
z4();Y40();
z6();Y40();
g1();Y80();g1();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y40();
g1();Y40();
d5();Y40();
d7();Y40();
z2();Y40();g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();
g1();z1();Y40();
z3();Y40();
z5();Y40();
g1();Y40();z7();d5();Y40();
d7();Y40();
g1();Y80();
z2();Y80();
g1();Y80();z5();Y40();
d1();Y40();
d4();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z1();Y40();d4();Y40();
d5();Y40();
d6();Y40();
z1();Y40();
z4();Y40();
z5();Y40();
z6();Y40();
z7();Y40();g1();d6();Y40();
d3();Y40();
d6();Y40();
z1();Y80();
d3();Y40();
d6();Y40();
z1();Y40();g1();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y80();
d2();Y40();
d5();Y40();
d7();Y40();z5();d4();Y80();
d6();Y40();
z1();Y40();
z4();Y80();
z3();Y40();
z2();Y40();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
z3();z1();Y80();
z4();Y40();
z3();Y40();d3();Y40();
d6();Y40();
z1();Y40();
z3();Y40();
Y80();
z2();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
Y80();
d7();Y80();d6();d4();d1();Y40();
d1();Y40();
d4();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z1();Y40();d1();Y40();
d4();Y40();
z1();Y40();
z2();Y40();
d6();d3();Y80();
d7();Y80();z1();d6();d3();Y40();
d3();Y40();
d6();Y40();
z1();Y80();
d3();Y40();
d6();Y40();
z1();Y40();z2();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y80();
d5();Y40();
d7();Y40();z5();d4();Y80();
d6();Y40();
z1();Y40();
z4();Y80();
z3();Y40();
z2();Y40();d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
z3();z1();Y80();
z4();Y40();
z3();Y40();d3();Y40();
d6();Y40();
z1();Y40();
z3();Y80();
d3();Y40();
z2();Y40();
z1();Y40();d7();d2();Y40();
d5();Y40();
z1();Y80();
Y80();
d7();Y80();d7();d4();Y40();
d1();Y40();
z1();Y80();
d1();Y40();
d4();Y40();
z2();Y80();z3();d5();Y40();
d2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();
d5();Y40();
d7();Y40();
z2();Y40();z1();d3();d6();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d6();d4();d1();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
d2();Y40();
g1();Y40();
d5();Y40();
z7();Y80();z1();d6();d3();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d6();d4();d1();Y40();
z5();Y40();
g1();Y40();
g1();Y80();
z5();Y40();
z1();Y80();z1();d5();Y40();
z5();Y40();
g1();Y40();
d2();Y40();
d5();Y40();
d7();Y40();
g1();Y80();g1();z1();z5();z3();Y80();